package com.codedancer.campus.manager.service.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户导出excel
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserExcel {

    @Excel(name = "用户昵称", width = 30)
    private String nickName;

    @Excel(name = "所属学校", width = 50)
    private String schoolName;

    @Excel(name = "性别", width = 10, replace = {"男_1", "女_2", "未知_3"})
    private Integer sex;

    @Excel(name = "状态", width = 10)
    private String status;

    @Excel(name = "是否设置基本信息", width = 30)
    private String isSetBasicMessage;

    @Excel(name = "手机号", width = 30)
    private String phone;

    @Excel(name = "来源类型", width = 30)
    private String sourceType;

    @Excel(name = "创建时间", width = 30, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Excel(name = "更新时间", width = 30, format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
